TEMPLATE = lib
TARGET = jamfs
win32 {
    DEFINES = WIN32 NDEBUG _WINDOWS _USRDLL _CRT_SECURE_NO_WARNINGS BUILD_MODULE
}
unix {
    DEFINES = 
}
DLLDESTDIR  = ../build/bin
INCLUDEPATH = ../include .
OBJECTS_DIR = ../build/obj/jamfs
CONFIG = warn_on
CONFIG += dll thread

PRECOMPILED_HEADER = precompiled.hpp
SOURCES =   jamfs_filesystem.cpp \
            jamfs_log.cpp \
            string_utils.cpp \
            precompiled.cpp \
            ../lib/src/pugixml.cpp \
            ../lib/src/pugixpath.cpp

HEADERS =   jamfs_filesystem.hpp \
            jamfs_log.hpp \
            jamfs_ifolder.hpp \
            SharedLibrary.hpp \
            string_utils.hpp \
            ../include/pugixml.hpp
win32 {
    SOURCES += win/SharedLibrary.cpp win/entrypoint.cpp
    HEADERS += win/msvc/stdint.h
}
unix {
    SOURCES += linux/SharedLibrary.cpp
}